#region Using

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;

using Gizmox.WebGUI.Common;
using Gizmox.WebGUI.Forms;
using Microsoft.Reporting.WebForms;

#endregion

namespace PLACEHR.Web.Categories.Report
{
    public partial class StaffSalaryControl : UserControl
    {
        public StaffSalaryControl()
        {
            InitializeComponent();
        }

        private void reportViewer1_HostedPageLoadComplete(object sender, Gizmox.WebGUI.Forms.Hosts.AspPageEventArgs e)
        {
            reportViewer1.ProcessingMode = ProcessingMode.Remote;
            reportViewer1.ServerReport.ReportServerUrl = new Uri(string.Format("http://localhost/ReportServer"));
            reportViewer1.ServerReport.ReportPath = string.Format("/PlaceHR.Report/StaffSalaryReport");

        }
    }
}